package com.beilang.hotline.title.manager;

import com.beilang.hotline.title.model.TitleModel;
import com.beilang.hotline.title.to.SearchTO;
import com.beilang.base.pagination.PaginationHelper;

public interface TitleMgr {
    public TitleModel createTitle(TitleModel titleModel);

    public TitleModel saveTitle(TitleModel titleModel);

    public void deleteTitle(Long titleId);

    public TitleModel getTitle(Long titleId);

    public PaginationHelper getTitleList(PaginationHelper helper, SearchTO searchTO);

    public void deleteAllSysTitles(Long sysId);

    public void deleteAllModuleTitles(Long moduleId);
}
